'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  //登录
  router.post('/api/login',controller.home.login);
  //获取权限
  router.get('/api/menuList',controller.home.menuList);
};
